#ifndef CINTERFACE_H
#define CINTERFACE_H

#include <QObject>
#include <QImage>
#include <QPixmap>
#include <QString>
#include <cinput.h>

class CInterface : public QObject
{
    Q_OBJECT

    QImage Image;
    QString Key;
    QString Message;
    int CryptMethod;
    bool MessageCrypted;

public:
    explicit CInterface(QObject *parent = 0);
    QRgb GetPixel(int x,int y) const;
    bool SetPixel(int x,int y,QRgb color);
    QString GetKey() const;
    bool SetKey(QString NewKey);
    int GetHeight() const;
    int GetWidth() const;
    QString GetMessage() const;
    bool SetMessage(QString NewMessage);
    bool IsMassageCrypted() const;
    bool LoadData(CInput *in);
    QPixmap GetImage();
    
signals:
    
public slots:
    
};

#endif // CINTERFACE_H
